package com.erp.stock.controller;

import com.erp.common.controller.BaseControllerPowerful;
import com.erp.common.service.BaseService;
import com.erp.stock.entity.CooperativesRawMaterialInventory;
import com.erp.stock.service.CooperativesRawMaterialInventoryService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("cooRawInventory")
@Api("外协企业库存接口")
public class CooperativesRawMaterialInventoryController extends BaseControllerPowerful<CooperativesRawMaterialInventory> {
    @Autowired
    CooperativesRawMaterialInventoryService service;

    @Override
    protected BaseService getService() {
        return this.service;
    }
}
